package ch9.ex20;

import static ch9.print.Print.*;

interface WithNested{
	class Nested{
		int i;
		public Nested(int i){
			this.i = i;
		}
		void f(){
			println("Nested.f");
		}
	}
}

class B2 implements WithNested{}

public class InterfaceWithNested {

	public static void main(String[] args) {
		B2 b = new B2();
		WithNested.Nested ne = new WithNested.Nested(5);
		ne.f();
	}

}
